home *** CD-ROM | disk | FTP | other *** search
- on superrandomgenerator
- global iMenuPosition, ActivityList
- if rollOver(8) or (rollOver(9) = 1) then
- nothing()
- else
- set x to random(80)
- if x <= 2 then
- if iMenuPosition > 12 then
- set iMenuPosition to 1
- set ActivityList to GetRandomList(13)
- else
- set iMenuPosition to iMenuPosition + 1
- end if
- set n to getAt(ActivityList, iMenuPosition)
- case n of
- 1:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth001.wav"
- else
- nothing()
- end if
- 2:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth002.wav"
- else
- nothing()
- end if
- 3:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth003.wav"
- else
- nothing()
- end if
- 4:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth015.wav"
- else
- nothing()
- end if
- 5:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth016.wav"
- else
- nothing()
- end if
- 6:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth017.wav"
- else
- nothing()
- end if
- 7:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth018.wav"
- else
- nothing()
- end if
- 8:
- if soundBusy(2) = 0 then
- sound playFile 2, "RndWavs/Oth019.wav"
- else
- nothing()
- end if
- 9:
- RKAnimation()
- 10:
- RKAnimation()
- 11:
- RKAnimation()
- 12:
- SKAnimation()
- 13:
- SKAnimation()
- end case
- end if
- end if
- end
-